import type { RouteRecordRaw } from 'vue-router'
import type { userInfo } from '@/api/user/type'
import type { AttributeCateList } from '@/api/product/type'
// 小仓库数据state类型
export interface UserState {
  token: string | null
  menuRouters: RouteRecordRaw[]
  myUserInfo: userInfo
}

export interface SettingStore {
  fold: boolean
  refresh: boolean
}

export interface AttributeCateStore {
  key_first: number | string
  key_second: number | string
  key_third: number | string
  option_first: AttributeCateList
  option_second: AttributeCateList
  option_third: AttributeCateList
}
